<?php
/**
 * FastApp.
 * 8/23/24
 * @Author deepsea159
 * @Contact telegram:deepsea159
 */

declare(strict_types=1);

use Hyperf\Database\Seeders\Seeder;
use Hyperf\DbConnection\Db;

class Menu extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        foreach ($this->getData() as $sql) {
            try {
                Db::connection('default')->insert($sql);
            } catch (\Throwable) {
            }
        }
    }

    public function getData(): array
    {
        return [
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4864, 0, '0', '营销管理', 'marketing', 'IconHighlight', NULL, NULL, NULL, 2, 'M', 1, 1, 1, 1, '2024-08-18 01:37:15', '2024-08-18 01:37:15', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4865, 4864, '0,4864', '梯度消费奖励', 'marketing:gradient', 'icon-home', 'marketing/gradient', 'marketing/gradient/index', NULL, 2, 'M', 1, 0, 1, NULL, '2024-08-18 09:40:58', '2024-08-18 09:40:58', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4866, 4865, '0,4864,4865', '梯度消费奖励列表', 'marketing:gradient:index', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-18 09:40:58', '2024-08-18 09:40:58', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4867, 4865, '0,4864,4865', '梯度消费奖励保存', 'marketing:gradient:save', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-18 09:40:58', '2024-08-18 09:40:58', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4868, 4865, '0,4864,4865', '梯度消费奖励读取', 'marketing:gradient:read', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-18 09:40:58', '2024-08-18 09:40:58', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4869, 4865, '0,4864,4865', '梯度消费奖励更新', 'marketing:gradient:update', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-18 09:40:58', '2024-08-18 09:40:58', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4870, 4865, '0,4864,4865', '梯度消费奖励删除', 'marketing:gradient:delete', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-18 09:40:58', '2024-08-18 09:40:58', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4871, 4865, '0,4864,4865', '梯度消费奖励回收站', 'marketing:gradient:recycle', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-18 09:40:58', '2024-08-18 09:40:58', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4872, 4865, '0,4864,4865', '梯度消费奖励恢复', 'marketing:gradient:recovery', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-18 09:40:58', '2024-08-18 09:40:58', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4873, 4865, '0,4864,4865', '梯度消费奖励真实删除', 'marketing:gradient:realDelete', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-18 09:40:58', '2024-08-18 09:40:58', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4874, 4864, '0,4864', '任务列表', 'marketing:task', 'icon-home', 'marketing/task', 'marketing/task/index', NULL, 2, 'M', 1, 0, 1, NULL, '2024-08-18 19:13:04', '2024-08-18 19:13:04', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4875, 4874, '0,4864,4874', '任务列表列表', 'marketing:task:index', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-18 19:13:04', '2024-08-18 19:13:04', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4876, 4874, '0,4864,4874', '任务列表保存', 'marketing:task:save', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-18 19:13:04', '2024-08-18 19:13:04', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4877, 4874, '0,4864,4874', '任务列表更新', 'marketing:task:update', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-18 19:13:04', '2024-08-18 19:13:04', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4878, 4874, '0,4864,4874', '任务列表读取', 'marketing:task:read', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-18 19:13:04', '2024-08-18 19:13:04', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4879, 4874, '0,4864,4874', '任务列表删除', 'marketing:task:delete', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-18 19:13:04', '2024-08-18 19:13:04', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4880, 4874, '0,4864,4874', '任务列表回收站', 'marketing:task:recycle', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-18 19:13:04', '2024-08-18 19:13:04', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4881, 4874, '0,4864,4874', '任务列表恢复', 'marketing:task:recovery', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-18 19:13:04', '2024-08-18 19:13:04', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4882, 4874, '0,4864,4874', '任务列表真实删除', 'marketing:task:realDelete', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-18 19:13:04', '2024-08-18 19:13:04', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4883, 4864, '0,4864', '分类列表', 'marketing:category', 'IconMenu', 'marketing/category', 'marketing/category/index', NULL, 2, 'M', 1, 1, 1, 1, '2024-08-18 11:21:11', '2024-08-20 02:32:00', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4884, 4864, '0,4864', '盲盒列表', 'marketing:blindBox', 'icon-home', 'marketing/blindBox', 'marketing/blindBox/index', NULL, 2, 'M', 1, 0, 1, NULL, '2024-08-20 10:25:56', '2024-08-20 10:25:56', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4885, 4884, '0,4864,4884', '盲盒列表列表', 'marketing:blindBox:index', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-20 10:25:56', '2024-08-20 10:25:56', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4886, 4884, '0,4864,4884', '盲盒列表保存', 'marketing:blindBox:save', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-20 10:25:56', '2024-08-20 10:25:56', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4887, 4884, '0,4864,4884', '盲盒列表更新', 'marketing:blindBox:update', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-20 10:25:56', '2024-08-20 10:25:56', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4888, 4884, '0,4864,4884', '盲盒列表读取', 'marketing:blindBox:read', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-20 10:25:56', '2024-08-20 10:25:56', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4889, 4884, '0,4864,4884', '盲盒列表删除', 'marketing:blindBox:delete', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-20 10:25:56', '2024-08-20 10:25:56', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4890, 4884, '0,4864,4884', '盲盒列表回收站', 'marketing:blindBox:recycle', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-20 10:25:56', '2024-08-20 10:25:56', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4891, 4884, '0,4864,4884', '盲盒列表恢复', 'marketing:blindBox:recovery', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-20 10:25:56', '2024-08-20 10:25:56', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4892, 4884, '0,4864,4884', '盲盒列表真实删除', 'marketing:blindBox:realDelete', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-20 10:25:56', '2024-08-20 10:25:56', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4893, 4864, '0,4864', '彩票列表', 'marketing:lotto', 'icon-home', 'marketing/lotto', 'marketing/lotto/index', NULL, 2, 'M', 1, 0, 1, NULL, '2024-08-21 16:09:29', '2024-08-21 16:09:29', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4894, 4893, '0,4864,4893', '彩票列表列表', 'marketing:lotto:index', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-21 16:09:29', '2024-08-21 16:09:29', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4895, 4893, '0,4864,4893', '彩票列表保存', 'marketing:lotto:save', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-21 16:09:29', '2024-08-21 16:09:29', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4896, 4893, '0,4864,4893', '彩票列表更新', 'marketing:lotto:update', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-21 16:09:29', '2024-08-21 16:09:29', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4897, 4893, '0,4864,4893', '彩票列表读取', 'marketing:lotto:read', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-21 16:09:29', '2024-08-21 16:09:29', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4898, 4893, '0,4864,4893', '彩票列表删除', 'marketing:lotto:delete', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-21 16:09:29', '2024-08-21 16:09:29', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4899, 4893, '0,4864,4893', '彩票列表回收站', 'marketing:lotto:recycle', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-21 16:09:29', '2024-08-21 16:09:29', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4900, 4893, '0,4864,4893', '彩票列表恢复', 'marketing:lotto:recovery', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-21 16:09:29', '2024-08-21 16:09:29', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4901, 4893, '0,4864,4893', '彩票列表真实删除', 'marketing:lotto:realDelete', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-21 16:09:29', '2024-08-21 16:09:29', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4999, 4864, '0,4864', '现金奖励', 'marketing:cashPrize', 'icon-home', 'marketing/cashPrize', 'marketing/cashPrize/index', NULL, 2, 'M', 1, 0, 1, NULL, '2024-11-18 21:55:53', '2024-11-18 21:55:53', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5000, 4999, '0,4864,4999', '现金奖励列表', 'marketing:cashPrize:index', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-11-18 21:55:53', '2024-11-18 21:55:53', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5001, 4999, '0,4864,4999', '现金奖励保存', 'marketing:cashPrize:save', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-11-18 21:55:53', '2024-11-18 21:55:53', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5002, 4999, '0,4864,4999', '现金奖励删除', 'marketing:cashPrize:delete', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-11-18 21:55:53', '2024-11-18 21:55:53', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5003, 4999, '0,4864,4999', '现金奖励读取', 'marketing:cashPrize:read', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-11-18 21:55:53', '2024-11-18 21:55:53', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5004, 4999, '0,4864,4999', '现金奖励更新', 'marketing:cashPrize:update', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-11-18 21:55:53', '2024-11-18 21:55:53', NULL, NULL);",
        ];
    }
}
